package com.createidea.cms.service.picture;

import java.io.File;
import java.util.List;

import com.createidea.cms.to.PictureTo;

public interface PictureService {

	PictureTo getPicture(String pictureId);
	
	void deletePicture(String pictureId);

	List<PictureTo> getPicturesForObject(String ownerId);
    
	void savePicture(PictureTo picture, File image, String imageContentType,String imageFileName, String realPath);

	void updatePicture(PictureTo picture, File image, String imageContentType,String imageFileName, String realPath);
}
